package thread;

import java.util.LinkedList;

public class Wait_NotifyTest {
	
	private static LinkedList<Integer> list = new LinkedList<Integer>();

	public static void main(String[] args) throws InterruptedException {
		new Thread(){
			public synchronized void run() {
				System.out.println("start");
				try {
					wait(5000);
				} catch (InterruptedException e) {
					e.printStackTrace();
				}
				System.out.println("end");
			};
		}.start();
	}
	
	public static int get(){
		return 0;
	}
	
	public static void add(int i){
	}
}
